package com.liu.demo.prository;

import com.liu.demo.pojo.Student;
import com.liu.demo.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserPrository extends JpaRepository<User,Integer> {
    List<User> findByUsernameAndPassword(Integer username, String passsword);
}
